package net.sudot.chess.business.wechat.dto.card;

import me.chanjar.weixin.common.util.json.WxGsonBuilder;

import java.io.Serializable;

/**
 * 卡券对象
 *
 * @author tangjialin on 2018-03-16.
 */
public class CardResult implements Serializable {

    private String cardId;
    private String code;

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return WxGsonBuilder.create().toJson(this);
    }
}
